<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ taglib prefix="product" tagdir="/WEB-INF/tags/product"%>
<%@ taglib prefix="order" tagdir="/WEB-INF/tags/order"%>
<div class="order_show" id="addPreviewPanel">
	<c:choose>
		<c:when test="${empty checkoutSession.errorMsg}">
			<div class="consignee">
				<table border="0" cellspacing="0" cellpadding="0" width="100%">
					<tr>
						<td style="vertical-align:top;width:60%">
							<%---------------------------------购买的商品 -------------------------%>
							<%@include file="include/orderAddPanel4PreviewProduct.jspf" %>
							<br/>
							<%---------------------------------兑换的礼品 TODO -------------------------%>
							<br/>
							<%---------------------------------优惠方案 -------------------------%>
							<%@include file="include/orderAddPanel4PreviewPromotion.jspf" %> 
						</td>
						<td style="vertical-align:top;">
							<%---------------------------------金额信息 -------------------------%>
							<%@include file="include/orderAddPanel4PreviewMoney.jspf" %>
						</td>
					</tr>
					<tr>
				</table>
			</div>
			<div id="proccessing"></div>
		</c:when>
		<c:otherwise>
			<div class="warning_msg"><span class="red">${checkoutSession.errorMsg}</span></div>
			<script type="text/javascript">
			$j(document).ready(function () {
				$j('#addPreviewPanel').parents('.ui-dialog:first').find('.ui-dialog-buttonpane').hide(); //预览窗口按钮隐藏
			});	
			
			</script>
		</c:otherwise>
	</c:choose>
</div>

